#include <stdio.h>
#include <stdlib.h>

int main()
{
    int a,b;
    while(scanf("%d %d",&a,&b)!=-1)
    {
        printf("%d\n",a+b);
    }
    return 0;
}
